package cn.yyt.yytravel.community.service;

import cn.yyt.yytravel.community.pojo.dto.CommunityQuery;
import cn.yyt.yytravel.community.pojo.dto.CommunitySaveParam;
import cn.yyt.yytravel.community.pojo.dto.LikeCommunityParam;
import cn.yyt.yytravel.community.pojo.entity.Community;
import cn.yyt.yytravel.community.pojo.vo.CommunityVO;

import java.util.List;

public interface CommunityService {
    Community save(CommunitySaveParam communitySaveParam);

    List<CommunityVO> selectCommunity(CommunityQuery communityQuery);

    void deleteCommunity(Long id);

    void saveLikeC(LikeCommunityParam likeCommunityParam);

    List<CommunityVO> selectLikeCommunity(CommunityQuery communityQuery);

    void delLikeCommunity(LikeCommunityParam likeCommunityParam);
}
